package com.dc.gameserver.serverCore.service.effective;

import com.dc.gameserver.proto.itemserverprotoVo.attrVoResponse;
import com.dc.gameserver.serverCore.model.gamemodel.Model;
import com.dc.gameserver.serverCore.service.character.PlayerInstance;

/**
 * @author 石头哥哥 </br>
 *         dcserver1.3 </br>
 *         Date:13-12-30 </br>
 *         Time:下午5:28 </br>
 *         Package:{@link com.dc.gameserver.serverCore.service.effective}</br>
 *         Comment：装备 秘籍 buff 索引接口
 */
public interface IEffective {

    /**
     * 索引数据
     */
     public  static IEffective[] EFFECTIVE_ID=new IEffective[0x3e8];


    /**
     *
     * @param player
     * @param model  book ,equ
     * @param flag   1.number 2.percent
     * @param   goodsID itemID 装备  秘籍编号
     * @param add true false
     */
    void effect(PlayerInstance player,Model model,int goodsID,int flag,boolean add,attrVoResponse.Builder builder);
}
